/* 
 * File:   socket.h
 * Author: onteria_
 *
 * Created on May 1, 2011, 1:01 PM
 */

#ifndef SOCKET_H
#define	SOCKET_H

#ifdef	__cplusplus
extern "C" {
#endif

struct sockaddr_in miko_create_socket(int, const char *);
struct sockaddr_in6 miko_create_socket6(int, const char *);
long miko_read_socket(int, void *, size_t, int);

#ifdef	__cplusplus
}
#endif

#endif	/* SOCKET_H */

